package com.study.templateMode;

/**
 * @Author tanglingyu
 * @Date: 2021/06/24/ 16:35
 * @Description
 */
public abstract class ReviewProcess {


  //通知直属Leader
  public void step1() {
    System.out.println("通知Leader");
  }

  //通知项目内部
  protected abstract void step2();


  //通知老板
  public void step3() {
    System.out.println("通知老板");
  }


  public void audit() {
    step1();
    step2();
    step3();
  }

}
